<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/modules/cms/front/include/taglib.jsp" %>
<%@ page import="org.apache.shiro.web.filter.authc.FormAuthenticationFilter" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>找回密码</title>
    <link href="${ctxStatic}/merchant/css/layui.css" rel="stylesheet">
    <link href="${ctxStatic}/merchant/css/index.css" rel="stylesheet" type="text/css">
    <link href="${ctxStatic}/merchant/css/pwd/resetPassword.css" rel="stylesheet" type="text/css"
    <!--layui插件-->
    <script src="${ctxStatic}/merchant/js/jquery-3.3.1.min.js"></script>
    <!-- 表单验证插件 -->
    <script src="${ctxStatic}/merchant/js/Validform_v5.3.2.js"></script>
</head>
<body>
<header>
    <div class="resetPassword-title">
        <span>找回密码</span>
    </div>
</header>
<div class="resetPassword">
    <form id="forgetPwd" action="${ctx}/updateUserForgetPassword" method="post" type="post">
        <div>
            <p class="resetPwd">重置密码</p>
            <p class="nowTel">当前手机号为：<%=request.getAttribute("tel")%>
            </p>
            <input id="username" name="username" type="hidden" value="<%=request.getAttribute("tel")%>">
            <div class="tel">
                <input id="password" name="password" datatype="pwd" type="password" placeholder="请输入新密码">
                <span>8~20个字，包含大小写字母、数字</span>
            </div>
            <div class="Validform_checktip"></div>
            <div class="code">
                <input id="repassword" name="repassword" recheck="password" datatype="pwd" type="password" placeholder="请再次输入新密码">
            </div>
            <div class="Validform_checktip"></div>
            <div class="next">
                <input id="submit" type="submit" value="修改">
            </div>
        </div>
    </form>
</div>
<footer class="foot">
		<span>
			Copyright 2017-2018 lexiaozhuan.com 版权所有 (京ICP证030173号
		</span>
    <img src="${ctxStatic}/merchant/images/shouye/ghs.png">
    <span>
			京公网安备11000002000001号)
		</span>
</footer>
</body>
</html>

<script>

    $(".resetPassword").Validform({
        tiptype: 2
    });

</script>